<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>风险预警回复</title>
		<script src="../../js/header.js"></script>
	</head>
	<body>
		<div v-cloak id="app">
			<div style="margin-top: 10px;">
				<div style="margin-top: 10px;border-bottom:1px solid rgba(200,200,200,0.43);">
					<el-form :model="selectForm" ref="selectForm" label-width="150px">
						<el-row>
							<el-col :span="10">
								<el-form-item label="预警领域:" prop="" label-width="130px">
									<el-select v-model="selectForm.fxyjDomainId" placeholder="请选择" :disabled="selectFormDisabled">
										<el-option label="综合监管" value="10"></el-option>
										<el-option label="自然资源" value="20"></el-option>
										<el-option label="生态环境" value="30"></el-option>
										<el-option label="交通运输" value="40"></el-option>
										<el-option label="农业农村" value="50"></el-option>
										<el-option label="文化旅游" value="60"></el-option>
										<el-option label="卫生健康" value="70"></el-option>
										<el-option label="市场监管" value="80"></el-option>
										<el-option label="食品监管" value="90"></el-option>
										<el-option label="药品监管" value="0"></el-option>
										<el-option label="安全生产" value="1"></el-option>
										<el-option label="金融监管" value="2"></el-option>
										<el-option label="网信安全" value="3"></el-option>
										<el-option label="社会保障" value="4"></el-option>
										<el-option label="税务税收" value="5"></el-option>
									</el-select>
								</el-form-item>
							</el-col>
							<el-col span="10">
								<el-form-item label="风险预警标题:" prop="" label-width="130px">
									<el-input v-model="selectForm.fxyjTitle" placeholder="" :disabled="selectFormDisabled"></el-input>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col span="10">
								<el-form-item label="风险级别:" prop="" label-width="130px">
									<el-select v-model="selectForm.fxyjLevel" placeholder="请选择" :disabled="selectFormDisabled">
										<el-option label="高风险" value="0"></el-option>
										<el-option label="中高风险" value="1"></el-option>
										<el-option label="中风险" value="2"></el-option>
										<el-option label="低风险" value="3"></el-option>
									</el-select>
								</el-form-item>
							</el-col>
							<el-col :span="10">
								<el-form-item label="监管对象名称:" prop="" label-width="130px">
									<el-input v-model="selectForm.fxyjObjectName" placeholder="" :disabled="selectFormDisabled"></el-input>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="10">
								<el-form-item label="认领时间:" prop="" label-width="130px">
									<el-date-picker
											v-model="selectForm.startTime"
											type="date"
											value-format="yyyy-MM-dd"
											placeholder="开始时间"
											style="width: 137px;"
											:editable="false"
											:disabled="selectFormDisabled">
									</el-date-picker>
									<span style="color: rgb(192, 204, 218);text-align: center;">—</span>
									<el-date-picker
											v-model="selectForm.endTime"
											type="date"
											value-format="yyyy-MM-dd"
											placeholder="结束时间"
											style="width: 137px;"
											:editable="false"
											:disabled="selectFormDisabled">
									</el-date-picker>
								</el-form-item>
							</el-col>
							<el-col :span="10">
								<el-form-item label="预警传送时间:" prop="" label-width="130px">
									<el-date-picker
											v-model="selectForm.startTime1"
											type="date"
											value-format="yyyy-MM-dd"
											placeholder="开始时间"
											style="width: 137px;"
											:editable="false"
											:disabled="selectFormDisabled">
									</el-date-picker>
									<span style="color: rgb(192, 204, 218);text-align: center;">—</span>
									<el-date-picker
											v-model="selectForm.endTime1"
											type="date"
											value-format="yyyy-MM-dd"
											placeholder="结束时间"
											style="width: 137px;"
											:editable="false"
											:disabled="selectFormDisabled">
									</el-date-picker>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row style="margin-bottom: 30px;">
							<div style="float: right;">
								<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="searchForm('selectForm')">查询</el-button>
								<el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetForm('selectForm')">重置</el-button>
								<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="appovalEx()">导出</el-button>
							</div>
						</el-row>
					</el-form>
				</div>
				
				<!--展示列表-->
				<el-table :data="tableData" border style="width: 100%;margin-top: 35px;" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
					<el-table-column type="selection" ></el-table-column>
					<el-table-column
							prop=""
							type="index"
							label="序号"
							width="50"
							align="center" >
					</el-table-column>
					<el-table-column
							prop="fxyjDomainId"
							label="预警领域"
							width="100"
							align="center">
						<template slot-scope="scope">
							<span v-if="scope.row.fxyjDomainId==10">综合监管</span>
							<span v-if="scope.row.fxyjDomainId==20">自然资源</span>
							<span v-if="scope.row.fxyjDomainId==30">生态环境</span>
							<span v-if="scope.row.fxyjDomainId==40">交通运输</span>
							<span v-if="scope.row.fxyjDomainId==50">农业农村</span>
							<span v-if="scope.row.fxyjDomainId==60">文化旅游</span>
							<span v-if="scope.row.fxyjDomainId==70">卫生健康</span>
							<span v-if="scope.row.fxyjDomainId==80">市场监管</span>
							<span v-if="scope.row.fxyjDomainId==90">食品监管</span>
							<span v-if="scope.row.fxyjDomainId==0">药品监管</span>
							<span v-if="scope.row.fxyjDomainId==1">安全生产</span>
							<span v-if="scope.row.fxyjDomainId==2">金融监管</span>
							<span v-if="scope.row.fxyjDomainId==3">网信安全</span>
							<span v-if="scope.row.fxyjDomainId==4">社会保障</span>
							<span v-if="scope.row.fxyjDomainId==5">税务税收</span>
						</template>
					</el-table-column>
					<el-table-column
							prop="fxyjTitle"
							label="预警标题"
							width="150"
							align="center">
					</el-table-column>
					<el-table-column
							prop="fxyjDesc"
							label="预警描述"
							width="200"
							align="center">
					</el-table-column>
					<el-table-column
							prop="fxyjLevel"
							label="预警级别"
							width="100"
							align="center">
							<template slot-scope="scope">
								<span v-if="scope.row.fxyjLevel==0">高风险</span>
								<span v-if="scope.row.fxyjLevel==1">中高风险</span>
								<span v-if="scope.row.fxyjLevel==2">中风险</span>
								<span v-if="scope.row.fxyjLevel==3">低风险</span>
							</template>
					</el-table-column>
					<el-table-column
							prop="fxyjTime"
							label="预警生成时间"
							width="80"
							align="center">
					</el-table-column>
					<el-table-column
							prop="fxyjTransmitTime"
							label="预警传送时间"
							width="80"
							align="center">
					</el-table-column>
					<el-table-column
							prop="getTime"
							label="认领时间"
							width="160"
							align="center">
					</el-table-column>
					<el-table-column
							prop="dispenseTime"
							label="分发时间"
							width="160"
							align="center">
					</el-table-column>
					<el-table-column
							prop="fxyjObjectName"
							label="监管对象名称"
							width="150"
							align="center">
					</el-table-column>
					<el-table-column
							prop="dealState"
							label="处置状态"
							width="100"
							align="center">
						<template slot-scope="scope">
							<span v-if="scope.row.dealState==''||scope.row.dealState==null ">待接收</span>
							<span v-if="scope.row.dealState==1">已接收</span>
							<span v-if="scope.row.dealState==2">已分发</span>
							<span v-if="scope.row.dealState==3">已反馈</span>
							<span v-if="scope.row.dealState==4">已结束</span>
						</template>
					</el-table-column>
					<el-table-column
							label="操作"
							width="300"
							align="center">
						<template slot-scope="scope">
							<!--<el-button type="" size="mini" @click="claim(scope.$index,scope.row)">认领</el-button>-->
							<!--<el-button type="primary" size="mini" @click="distribute(scope.$index,scope.row)">分发</el-button>-->
							<!--<el-button type="danger" size="mini" @click="over(scope.$index,scope.row)">结束</el-button>-->
							<el-button type="info" size="mini" @click="reply(scope.$index,scope.row)">回复</el-button>
							<el-button size="mini" v-show="(scope.row.revertState== '1')?true:false" @click="view(scope.$index,scope.row)">查看详情</el-button>
						</template>
					</el-table-column>
				</el-table>
				<div style="overflow: hidden;">
					<div class="pagination">
						<el-pagination
								@size-change="handleSizeChange"
								@current-change="handleCurrentChange"
								:current-page="currentPage"
								:page-sizes="[10, 20, 30, 40]"
								:page-size="pagesize"
								background
								layout="total, sizes,prev, pager, next"
								:total="tableTotal"
								prev-text="上一页"
								next-text="下一页">
						</el-pagination>
					</div>
				</div>

				<!--查看详情-->
				<el-dialog title="" :visible.sync="dialogViewForm" center fullscreen>
					<div  style="margin-top: 10px;">
						<el-form :model="riskwarningview" ref="riskwarningview" label-width="150px">
							<!--风险预警基本信息-->
							<div>
								<el-row>
									<el-col :span="10" class="tab-title">
										风险预警基本信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警唯一ID:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="领域ID及名称:" label-width="150px">
											<el-select v-model="riskwarningview.riskwarning.fxyjDomainId" placeholder="请选择" :disabled="formDisabled">
												<el-option label="综合监管" value="10"></el-option>
												<el-option label="自然资源" value="20"></el-option>
												<el-option label="生态环境" value="30"></el-option>
												<el-option label="交通运输" value="40"></el-option>
												<el-option label="农业农村" value="50"></el-option>
												<el-option label="文化旅游" value="60"></el-option>
												<el-option label="卫生健康" value="70"></el-option>
												<el-option label="市场监管" value="80"></el-option>
												<el-option label="食品监管" value="90"></el-option>
												<el-option label="药品监管" value="A0"></el-option>
												<el-option label="安全生产" value="B0"></el-option>
												<el-option label="金融监管" value="C0"></el-option>
												<el-option label="网信安全" value="D0"></el-option>
												<el-option label="社会保障" value="E0"></el-option>
												<el-option label="税务税收" value="F0"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险线索所属模型ID:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjModelId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象类型:" label-width="150px">
											<el-select v-model="riskwarningview.riskwarning.fxyjObjectType" placeholder="请选择" :disabled="formDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="行政区划代码:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjAreaNumber"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="行政区划名称:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjAreaName"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="监管对象ID:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjObjectId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象名称:" label-width="150px">
											<el-select v-model="riskwarningview.riskwarning.fxyjObjectName" placeholder="请选择" :disabled="formDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="平台名称:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjPlatform"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="平台网址:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjWeb"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="预警描述:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjDesc"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="风险预警详情:">
											<el-input type="textarea" v-model="riskwarningview.riskwarning.fxyjProps" placeholder="" :disabled="formDisabled" style="width: 100%;"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="预警级别:" label-width="150px">
											<el-select  v-model="riskwarningview.riskwarning.fxyjLevel" placeholder="请选择" :disabled="formDisabled">
												<el-option label="高风险" value="0"></el-option>
												<el-option label="中高风险" value="1"></el-option>
												<el-option label="中风险" value="2"></el-option>
												<el-option label="低风险" value="3"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="预警时间:" label-width="150px">
											<el-date-picker
													v-model="riskwarningview.riskwarning.fxyjTime"
													type="date"
													value-format="yyyy-MM-dd"
													placeholder="选择时间"
													style="width: 243px;"
													:editable="false"
													:disabled="formDisabled">
											</el-date-picker>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="其他:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjOthers"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="预警详情网址:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjDetailUrl"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
							</div>
							<!--接收处置信息-->
							<div>
								<el-row>
									<el-col :span="10" class="tab-title">
										接收处置信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警传送时间:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.fxyjTransmitTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="从应急部发送过来的时间:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.yjbSendTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="认领人:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.operatePerson"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="认领机构:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.operateOrg"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="分发人:"  label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.dispensePerson"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="分发机构:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.dispenseOrg"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="分发时间:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.dispenseTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="认领时间:" label-width="150px">
											<el-input v-model="riskwarningview.riskwarning.getTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
							</div>
							<!--反馈信息-->
							<div v-for="(item,index) in riskwarningview.riskwarningChildren">
								<el-row>
									<el-col :span="10" class="tab-title">
										反馈信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警唯一ID:" label-width="150px">
											<el-input v-model="item.fxyjId"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="反馈ID:" label-width="150px">
											<el-input v-model="item.fxyjFeedbackId"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="监管对象类型:" label-width="150px">
											<el-select v-model="item.fxyjObjectType" placeholder="请选择" :disabled="replyformDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象ID:" label-width="150px">
											<el-input v-model="item.fxyjObjectId"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="操作人:" label-width="150px">
											<el-input v-model="item.fxyjOperator"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="操作人所属机构:" label-width="150px">
											<el-input v-model="item.fxyjOperatorType"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="处置结果:" label-width="150px">
											<el-select v-model="item.fxyjResult" placeholder="请选择" :disabled="replyformDisabled">
												<el-option label="认领" value="0"></el-option>
												<el-option label="分发" value="1"></el-option>
												<el-option label="回复" value="2"></el-option>
												<el-option label="结束" value="3"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="反馈时间:" label-width="150px">
											<el-date-picker
													v-model="item.responseTime"
													type="date"
													value-format="yyyy-MM-dd"
													placeholder="选择时间"
													style="width: 243px;"
													:editable="false"
													:disabled="replyformDisabled">
											</el-date-picker>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="处置状态:" label-width="150px">
											<el-select v-model="item.fxyjStates" placeholder="请选择" :disabled="replyformDisabled">
												<el-option label="经核查无异常" value="1"></el-option>
												<el-option label="同一事件已经处置，不再重复处理" value="2"></el-option>
												<el-option label="正在核查" value="3"></el-option>
												<el-option label="已完成处置" value="4"></el-option>
												<el-option label="已移送公安机关立案调查，行政部门不再处理" value="5"></el-option>
												<el-option label="事件进入民事诉讼程序，行政部门不再处理" value="6"></el-option>
												<el-option label="其它" value="7"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="反馈详情:">
											<el-input type="textarea" v-model="item.fxyjDetails" placeholder="" :disabled="replyformDisabled" style="width: 100%;"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="核查单位代码:" label-width="150px">
											<el-input v-model="item.fxyjCheckId"  placeholder="统一社会信用代码" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="核查单位名称:"  label-width="150px">
											<el-input v-model="item.fxyjCheckName"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="检查行为编号:" label-width="150px">
											<el-input v-model="item.checkActionCode"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col>
										<el-form-item>
											<el-button type="info" size="mini" @click="getAction(item.checkActionCode)">行政行为信息</el-button>
										</el-form-item>
									</el-col>
								</el-row>
							</div>
						</el-form>
					</div>
				</el-dialog>

				<!--编辑详情-->
				<el-dialog title="" :visible.sync="dialogEditForm" center fullscreen>
					<div  style="margin-top: 10px;">
						<el-form :model="riskwarningedit" :rules="rules" ref="riskwarningedit" label-width="150px">
							<!--风险预警基本信息-->
							<div>
								<el-row>
									<el-col :span="10" class="tab-title">
										风险预警基本信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警唯一ID:"  prop="riskwarning.fxyjId" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="领域ID及名称:" prop="riskwarning.fxyjDomainId" label-width="150px">
											<el-select v-model="riskwarningedit.riskwarning.fxyjDomainId" placeholder="请选择" :disabled="formDisabled">
												<el-option label="综合监管" value="10"></el-option>
												<el-option label="自然资源" value="20"></el-option>
												<el-option label="生态环境" value="30"></el-option>
												<el-option label="交通运输" value="40"></el-option>
												<el-option label="农业农村" value="50"></el-option>
												<el-option label="文化旅游" value="60"></el-option>
												<el-option label="卫生健康" value="70"></el-option>
												<el-option label="市场监管" value="80"></el-option>
												<el-option label="食品监管" value="90"></el-option>
												<el-option label="药品监管" value="A0"></el-option>
												<el-option label="安全生产" value="B0"></el-option>
												<el-option label="金融监管" value="C0"></el-option>
												<el-option label="网信安全" value="D0"></el-option>
												<el-option label="社会保障" value="E0"></el-option>
												<el-option label="税务税收" value="F0"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险线索所属模型ID:"  prop="riskwarning.fxyjModelId" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjModelId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象类型:" prop="riskwarning.fxyjObjectType" label-width="150px">
											<el-select v-model="riskwarningedit.riskwarning.fxyjObjectType" placeholder="请选择" :disabled="formDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="行政区划代码:"  prop="riskwarning.fxyjAreaNumber" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjAreaNumber"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="行政区划名称:" prop="riskwarning.fxyjAreaName" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjAreaName"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="监管对象ID:"  prop="riskwarning.fxyjObjectId" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjObjectId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象名称:" prop="riskwarning.fxyjObjectName" label-width="150px">
											<el-select v-model="riskwarningedit.riskwarning.fxyjObjectName" placeholder="请选择" :disabled="formDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="平台名称:"  prop="riskwarning.fxyjPlatform" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjPlatform"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="平台网址:" prop="riskwarning.fxyjWeb" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjWeb"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="预警描述:"  prop="riskwarning.fxyjDesc" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjDesc"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="风险预警详情:" prop="riskwarning.fxyjProps">
											<el-input type="textarea" v-model="riskwarningedit.riskwarning.fxyjProps" placeholder="" :disabled="formDisabled" style="width: 100%;"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="预警级别:"  prop="riskwarning.fxyjLevel" label-width="150px">
											<el-select  v-model="riskwarningedit.riskwarning.fxyjLevel" placeholder="请选择" :disabled="formDisabled">
												<el-option label="高风险" value="0"></el-option>
												<el-option label="中高风险" value="1"></el-option>
												<el-option label="中风险" value="2"></el-option>
												<el-option label="低风险" value="3"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="预警时间:" prop="riskwarning.fxyjTime" label-width="150px">
											<el-date-picker
													v-model="riskwarningedit.riskwarning.fxyjTime"
													type="date"
													value-format="yyyy-MM-dd"
													placeholder="选择时间"
													style="width: 243px;"
													:editable="false"
													:disabled="formDisabled">
											</el-date-picker>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="其他:"  prop="riskwarning.fxyjOthers" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjOthers"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="预警详情网址:" prop="riskwarning.fxyjDetailUrl" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjDetailUrl"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
							</div>
							<!--接收处置信息-->
							<div>
								<el-row>
									<el-col :span="10" class="tab-title">
										接收处置信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警传送时间:"  prop="riskwarning.fxyjTransmitTime" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.fxyjTransmitTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="从应急部发送过来的时间:" prop="riskwarning.yjbSendTime" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.yjbSendTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="认领人:"  prop="riskwarning.operatePerson" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.operatePerson"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="认领机构:" prop="riskwarning.operateOrg" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.operateOrg"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="分发人:"  prop="riskwarning.dispensePerson" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.dispensePerson"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="分发机构:" prop="riskwarning.dispenseOrg" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.dispenseOrg"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="分发时间:"  prop="riskwarning.dispenseTime" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.dispenseTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="认领时间:" prop="riskwarning.getTime" label-width="150px">
											<el-input v-model="riskwarningedit.riskwarning.getTime"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
							</div>
							<!--反馈信息-->
							<div v-for="(item,index) in riskwarningedit.riskwarningChildren">
								<el-row>
									<el-col :span="10" class="tab-title">
										反馈信息
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="风险预警唯一ID:" :prop="'riskwarningChildren.'+index+'.fxyjId'" :rules="rules.fxyjId" label-width="150px">
											<el-input v-model="item.fxyjId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="反馈ID:" :prop="'riskwarningChildren.'+index+'.fxyjFeedbackId'" :rules="rules.fxyjFeedbackId" label-width="150px">
											<el-input v-model="item.fxyjFeedbackId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="监管对象类型:" :prop="'riskwarningChildren.'+index+'.fxyjObjectType'" :rules="rules.fxyjObjectType" label-width="150px">
												<el-select v-model="item.fxyjObjectType" placeholder="请选择" :disabled="formDisabled">
												<el-option label="行政相对人（组织）" value="1"></el-option>
												<el-option label="行政相对人（个人）" value="2"></el-option>
												<el-option label="特种设备" value="3"></el-option>
												<el-option label="特定产品" value="4"></el-option>
												<el-option label="场地场所" value="5"></el-option>
												<el-option label="项目工程" value="6"></el-option>
												<el-option label="特定行为" value="7"></el-option>
												<el-option label="特定活动" value="8"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="监管对象ID:" :prop="'riskwarningChildren.'+index+'.fxyjObjectId'" :rules="rules.fxyjObjectId" label-width="150px">
											<el-input v-model="item.fxyjObjectId"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="操作人:" :prop="'riskwarningChildren.'+index+'.fxyjOperator'" :rules="rules.fxyjOperator" label-width="150px">
											<el-input v-model="item.fxyjOperator"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="操作人所属机构:" :prop="'riskwarningChildren.'+index+'.fxyjOperatorType'" :rules="rules.fxyjOperatorType" label-width="150px">
											<el-input v-model="item.fxyjOperatorType"  placeholder="" :disabled="formDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="处置结果:" :prop="'riskwarningChildren.'+index+'.fxyjResult'" :rules="rules.fxyjResult" label-width="150px">
											<el-select v-model="item.fxyjResult" placeholder="请选择" :disabled="formDisabled">
												<el-option label="回复" value="2"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="回复时间:" :prop="'riskwarningChildren.'+index+'.fxyjEnd'" :rules="rules.fxyjEnd" label-width="150px">
											<el-date-picker
													v-model="item.fxyjEnd"
													type="date"
													value-format="yyyy-MM-dd"
													placeholder="选择时间"
													style="width: 243px;"
													:editable="false"
													:disabled="formDisabled">
											</el-date-picker>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="反馈时间:" :prop="'riskwarningChildren.'+index+'.responseTime'" :rules="rules.responseTime" label-width="150px">
											<el-date-picker
													v-model="item.responseTime"
													type="date"
													value-format="yyyy-MM-dd"
													placeholder="选择时间"
													style="width: 243px;"
													:editable="false"
													:disabled="replyformDisabled">
											</el-date-picker>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="处置状态:" :prop="'riskwarningChildren.'+index+'.fxyjStates'" :rules="rules.fxyjStates" label-width="150px">
											<el-select v-model="item.fxyjStates" placeholder="请选择" :disabled="replyformDisabled">
												<el-option label="经核查无异常" value="1"></el-option>
												<el-option label="同一事件已经处置，不再重复处理" value="2"></el-option>
												<el-option label="正在核查" value="3"></el-option>
												<el-option label="已完成处置" value="4"></el-option>
												<el-option label="已移送公安机关立案调查，行政部门不再处理" value="5"></el-option>
												<el-option label="事件进入民事诉讼程序，行政部门不再处理" value="6"></el-option>
												<el-option label="其它" value="7"></el-option>
											</el-select>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="反馈详情:" :prop="'riskwarningChildren.'+index+'.fxyjDetails'" :rules="rules.fxyjDetails">
											<el-input type="textarea" v-model="item.fxyjDetails" placeholder="" :disabled="replyformDisabled" style="width: 100%;"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="8">
										<el-form-item label="核查单位代码:" :prop="'riskwarningChildren.'+index+'.fxyjCheckId'" :rules="rules.fxyjCheckId" label-width="150px">
											<el-input v-model="item.fxyjCheckId"  placeholder="统一社会信用代码" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col :span="8">
										<el-form-item label="核查单位名称:" :prop="'riskwarningChildren.'+index+'.fxyjCheckName'" :rules="rules.fxyjCheckName"  label-width="150px">
											<el-input v-model="item.fxyjCheckName"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
								</el-row>
								<el-row>
									<el-col :span="16">
										<el-form-item label="检查行为编号:" :prop="'riskwarningChildren.'+index+'.checkActionCode'" :rules="rules.checkActionCode" label-width="150px">
											<el-input v-model="item.checkActionCode"  placeholder="" :disabled="replyformDisabled"></el-input>
										</el-form-item>
									</el-col>
									<el-col>
										<el-form-item>
											<el-button type="info" size="mini" @click="getAction(item.checkActionCode)">行政行为信息</el-button>
										</el-form-item>
									</el-col>
								</el-row>
								<div v-show="viewOrEdit">
									<el-row>
										<el-col :span="22">
											<div style="float:right;">
												<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="submitForm()">提交</el-button>
												<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="dialogEditForm = false;">取消</el-button>
											</div>
										</el-col>
									</el-row>
								</div>
							</div>
						</el-form>
					</div>
				</el-dialog>

				<!--检查行为信息-->
				<el-dialog title="" :visible.sync="dialogForm" center fullscreen>
					<div class="dialogform-labelwidth" style="margin-top: 10px;">
						<el-form :model="adminisitration" :prop="adminisitration" :rules="rules" ref="adminisitration" label-width="150px">
							<!--监管信息表（行政检查行为）信息表-->
							<el-row>
								<el-col :span="10" class="tab-title">
									行政检查行为信息表
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="记录唯一标识:" prop="recordUniqueIdentity" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="取值应符合GB/T 17969.8-2010要求" placement="top-start">
											<el-input v-model="adminisitration.recordUniqueIdentity" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="监管对象:" prop="superviseObject" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="1、企业、个体户、农专社，填写为企业统一社会信用代码；
																								2、自然人时，填写身份证号；
																								3、特种设备时，填写生产企业统一社会信用代码#产品品牌#出厂日期
																								4、为特定产品（食品）时，填写生产企业统一社会信用代码#生产批号
																								5、为特定产品（三种特殊食品）时，填写生产企业统一社会信用代码#生产批号
																								6、特定产品为药品时，填写生产企业统一社会信用代码#生产许可证编号#生产批号
																								7、特定产品为化妆品时，填写生产企业统一社会信用代码#生产许可证编号#生产批号
																								8、特定产品为医疗器械时，填写生产企业统一社会信用代码#注册证编号#生产批号
																								9、为场地场所时，填写场地场所名称#所在地区" placement="top-start">

											<el-input v-model="adminisitration.superviseObject" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="监管事项目录编码:" prop="superviseItemImplementCode" lable-width="180px">
										<el-input v-model="adminisitration.superviseItemImplementCode" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="监管事项检查实施清单编码:" prop="superviseItemCheckIcode" lable-width="180px">
										<el-input v-model="adminisitration.superviseItemCheckIcode" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="检查行为名称:" prop="checkActionName" lable-width="180px">
										<el-input v-model="adminisitration.checkActionName" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="检查行为编号:" prop="checkActionCode" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="行为编号须是唯一编号，可在已有办件编号前加18位实施机构的统一社会信用代码" placement="top-start">
											<el-input v-model="adminisitration.checkActionCode" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="实施机构:" prop="implementInstitution" lable-width="180px">
										<el-input v-model="adminisitration.implementInstitution" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="实施机构编码:" prop="implementInstitutionCode" lable-width="180px">
										<el-input v-model="adminisitration.implementInstitutionCode" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="受委托部门:" prop="entrustDept" lable-width="180px">
										<el-input v-model="adminisitration.entrustDept" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="受委托部门编码:" prop="entrustDeptCode" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="受委托部门的统一社会信用代码" placement="top-start">
											<el-input v-model="adminisitration.entrustDeptCode" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="行政相对人（单位/个人）:" prop="administrativeCp" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="与行政主体对应的另一方当事人，监管责任最终的承担者" placement="top-start">
											<el-input v-model="adminisitration.administrativeCp" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="行政相对人性质:" prop="administrativeCpNa" lable-width="180px">
										<el-select v-model="adminisitration.administrativeCpNa" placeholder="请选择行政相对人性质" :disabled="actionDisabled" style="width: 100%;">
											<el-option label="个人" value="1"></el-option>
											<el-option label="法人" value="2"></el-option>
											<el-option label="非法人组织" value="3"></el-option>
											<el-option label="个体工商户" value="4"></el-option>
										</el-select>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="行政相对人证件类型:" prop="administrativeCpCeType" lable-width="180px">
										<el-select v-model="adminisitration.administrativeCpCeType" placeholder="请选择行政相对人证件类型" :disabled="actionDisabled" style="width: 100%;">
											<el-option
													v-for="item in cpCeTypeData"
													:key="item.appId"
													:label="item.dictName"
													:value="item.dictName">
											</el-option>
										</el-select>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="行政相对人(单位/个人)编码:" prop="administrativeCpUiCode" lable-width="180px">\
										<el-tooltip class="item" effect="dark" content="如是单位则填写该单位统一社会信用代码，如是个人则填写相应的证件号码等" placement="top-start">
											<el-input v-model="adminisitration.administrativeCpUiCode" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="注册地址:" prop="addressRegistered" lable-width="180px">
										<el-input v-model="adminisitration.addressRegistered" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="经营地址:" prop="addressOperating" lable-width="180px">
										<el-input v-model="adminisitration.addressOperating" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="行政区划代码:" prop="areaNumber" lable-width="180px">
										<el-input v-model="adminisitration.areaNumber" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="检查形式:" prop="checkForm" lable-width="180px">
										<el-select v-model="adminisitration.checkForm" placeholder="请选择检查形式" :disabled="actionDisabled"  style="width: 100%;">
											<el-option label="日常检查" value="1"></el-option>
											<el-option label="专项检查" value="2"></el-option>
										</el-select>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="检查类别:" prop="checkType" lable-width="180px">
										<el-select v-model="adminisitration.checkType" placeholder="请选择检查类别" :disabled="actionDisabled"  style="width: 100%;">
											<el-option label="现场检查" value="1"></el-option>
											<el-option label="非现场检查" value="2"></el-option>
										</el-select>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="检查方式:" prop="checkMode" lable-width="180px">
										<el-select v-model="adminisitration.checkMode" placeholder="请选择检查方式" :disabled="actionDisabled"  style="width: 100%;">
											<el-option label="“双随机、一公开”监管" value="1"></el-option>
											<el-option label="重点监管" value="2"></el-option>
											<el-option label="信用监管" value="3"></el-option>
										</el-select>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="检查结果:" prop="checkResult" lable-width="180px">
										<el-select v-model="adminisitration.checkResult" placeholder="请选择检查结果" :disabled="actionDisabled"  style="width: 100%;">
											<el-option
													v-for="item in checkResultData"
													:key="item.appId"
													:label="item.dictName"
													:value="item.dictName">
											</el-option>
										</el-select>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="检查时间:" prop="checkDate" lable-width="180px">
										<el-date-picker type="date" :editable="false" placeholder="选择日期" v-model="adminisitration.checkDate" value-format="yyyy-MM-dd" :disabled="actionDisabled" style="width: 100%;">
										</el-date-picker>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="检查人员:" prop="checkPersonnel" lable-width="180px" :rules="rules.checkPersonnel">
										<el-tooltip class="item" effect="dark" content="填报进行检查的人员名称，填报检查人数不少于2人" placement="top-start">
											<el-input v-model="adminisitration.checkPersonnel" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="执法监管人员:" prop="checkPersonnelCode" lable-width="180px">
										<el-tooltip class="item" effect="dark" content="执法证号与对应执法人员名称的顺序保持一致" placement="top-start">
											<el-input v-model="adminisitration.checkPersonnelCode" placeholder="" :disabled="actionDisabled"></el-input>
										</el-tooltip>
									</el-form-item>
								</el-col>
							</el-row>
							<el-row>
								<el-col :span="10">
									<el-form-item label="报送时间:" prop="submittedDate" lable-width="180px">
										<el-date-picker type="date" :editable="false" placeholder="选择日期" v-model="adminisitration.submittedDate" value-format="yyyy-MM-dd" :disabled="actionDisabled" style="width: 100%;">
										</el-date-picker>
									</el-form-item>
								</el-col>
								<el-col :span="10">
									<el-form-item label="报送人员:" prop="submittedPersonnel" lable-width="180px">
										<el-input v-model="adminisitration.submittedPersonnel" placeholder="" :disabled="actionDisabled"></el-input>
									</el-form-item>
								</el-col>
							</el-row>
							<!-- <el-row>
                                 <el-col :span="22">
                                     <div style="float:right;">
                                         <el-button v-show="showOnSubmit" type="primary" size="small" style="width: 60px;height: 30px;" @click="onSubmit()">提交</el-button>
                                         <el-button v-show="showOnReplace" type="primary" size="small" style="width: 60px;height: 30px;" @click="onReplace()">修改</el-button>
                                         <el-button type="info" size="small" style="width: 60px;height: 30px;" @click="dialogForm = false;clearForm()">取消</el-button>
                                     </div>
                                 </el-col>
                             </el-row>-->
						</el-form>
					</div>
				</el-dialog>

			</div>
		</div>
		<script>
			var vm = new Vue({
				el: '#app',
				data(){
					return{
                        riskwarningview: {
                            riskwarning:{
                                id:'',
                                fxyjId:'',
                                fxyjDomainId:'',
                                fxyjModelId:'',
                                fxyjObjectType:'',
                                fxyjAreaNumber:'',
                                fxyjAreaName:'',
                                fxyjObjectId:'',
                                fxyjObjectName:'',
                                fxyjPlatform:'',
                                fxyjWeb:'',
                                fxyjDepict:'',
                                fxyjProps:'',
                                fxyjLevel:'',
                                fxyjTime:'',
                                fxyjOthers:'',
                                fxyjDetailUrl:'',
                                fxyjTransmitTime:'',
                                yjbSendTime:'',
                                operatePerson:'',
                                operateOrg:'',
                                dispensePerson:'',
                                dispenseOrg:'',
                                dispenseTime:'',
                                getTime:''
                            },
                            riskwarningChildren:[]
                        },
                        riskwarningedit: {
                            riskwarning:{
                                id:'',
                                fxyjId:'',
                                fxyjDomainId:'',
                                fxyjModelId:'',
                                fxyjObjectType:'',
                                fxyjAreaNumber:'',
                                fxyjAreaName:'',
                                fxyjObjectId:'',
                                fxyjObjectName:'',
                                fxyjPlatform:'',
                                fxyjWeb:'',
                                fxyjDepict:'',
                                fxyjProps:'',
                                fxyjLevel:'',
                                fxyjTime:'',
                                fxyjOthers:'',
                                fxyjDetailUrl:'',
                                fxyjTransmitTime:'',
                                yjbSendTime:'',
                                operatePerson:'',
                                operateOrg:'',
                                dispensePerson:'',
                                dispenseOrg:'',
                                dispenseTime:'',
                                getTime:''
                            },
                            riskwarningChildren:[]
                        },
						currentPage: 1,
						pagesize: 10,
						tableTotal:'',
						tableData: [],
						selectForm: {
                            fxyjDomainId:'',
                            fxyjTitle:'',
                            fxyjLevel:'',
                            fxyjObjectName:'',
                            startTime:'',
                            endTime:'',
		                    startTime1:'',
		                    endTime1:'',
		               },
		                selectFormDisabled:false,
						dialogViewForm:false,
                        dialogEditForm:false,
                        replyformDisabled:false,
                        formDisabled:false,
						viewOrEdit:false,
                        rules: {
                            fxyjId: [{
                                required: false,
                                message: '请输入风险预警唯一ID',
                                trigger: 'blur'
                            }],
                            fxyjFeedbackId: [{
                                required: true,
                                message: '请输入反馈ID',
                                trigger: 'blur'
                            }],
                            fxyjObjectType: [{
                                required: true,
                                message: '请选择监管对象类型',
                                trigger: 'blur'
                            }],
                            fxyjObjectId: [{
                                required: true,
                                message: '请输入监管对象ID',
                                trigger: 'blur'
                            }],
                            fxyjOperator: [{
                                required: true,
                                message: '请输入操作人',
                                trigger: 'blur'
                            }],
                            fxyjOperatorType: [{
                                required: true,
                                message: '请输入操作人所属机构',
                                trigger: 'blur'
                            }],
                            fxyjResult: [{
								required: true,
								message: '请输入处置结果',
								trigger: 'blur'
							}],
                            fxyjEnd: [{
								required: true,
								message: '请输入结束时间',
								trigger: 'blur'
							}],
                            responseTime: [{
                                required: true,
                                message: '请输入反馈时间',
                                trigger: 'blur'
                            }],
                            fxyjStates: [{
                                required: true,
                                message: '请选择处置状态',
                                trigger: 'blur'
                            }],
                            fxyjDetails: [{
                                required: true,
                                message: '请输入反馈详情',
                                trigger: 'blur'
                            }],
                            fxyjCheckId: [{
                                required: true,
                                message: '请输入核查单位代码',
                                trigger: 'blur'
                            }],
                            fxyjCheckName: [{
                                required: true,
                                message: '请输入核查单位名称',
                                trigger: 'blur'
                            }],
                            checkActionCode: [{
                                required: false,
                                message: '请输入检查行为编号',
                                trigger: 'blur'
                            }],

                        },

                        dialogForm:false,
                        actionDisabled:false,
                        adminisitration: {
                            actionId: '',
                            recordUniqueIdentity: '',
                            superviseItemImplementCode: '',
                            superviseItemCheckIcode: '',
                            checkActionCode: '',
                            checkActionName: '',
                            implementInstitution: '',
                            implementInstitutionCode: '',
                            entrustDept: '',
                            entrustDeptCode: '',
                            superviseObject: '',
                            administrativeCp: '',
                            administrativeCpNa: '',
                            administrativeCpCeType: '',
                            administrativeCpUiCode: '',
                            addressRegistered: '',
                            addressOperating: '',
                            areaNumber: '',
                            checkForm: '1',
                            checkType: '1',
                            checkMode: '1',
                            checkResult: '',
                            checkDate: '',
                            checkPersonnel: '',
                            checkPersonnelCode: '',
                            submittedDate: '',
                            submittedPersonnel: '',
                            delFlag: '',
                            creatTime: '',
                            creatPreson: ''
                        },
                        userInfo:''
					}
				},
                created: function() {
                    this.userInfo = JSON.parse(localStorage.getItem('userInfo'));
                },
				mounted(){
		            this.getData();
		        },
		        methods: {
		        	getData() {
		                var pagesize = this.pagesize;
		                var pageno = this.currentPage;
		                axios({
		                    method: 'get',
		                    url: '/fxyj/reply/getPage',
		                    params: {
                                pageSize: pagesize,
                                pageNo: pageno,
                                fxyjDomainId: this.selectForm.fxyjDomainId,
                                fxyjTitle: this.selectForm.fxyjTitle,
                                fxyjLevel: this.selectForm.fxyjLevel,
                                fxyjObjectName: this.selectForm.fxyjObjectName,
                                startTime: this.selectForm.startTime,
                                endTime: this.selectForm.endTime,
                                startTime1: this.selectForm.startTime1,
                                endTime1: this.selectForm.endTime1
		                    }
		                })
						.then(response => {
							let data = response.data;
							if (data.code == 200) {
								let dataInformation = response.data.data.results;
								this.tableTotal = response.data.data.total;// 数据长度
								this.tableData = dataInformation;
		
							} else {
								this.$message.error(data.msg);
							}
						})
						.catch(function (error) {
							console.log(error);
						});
		            },
		        	/* 列表页搜索 */
		            searchForm(selectForm) {
		                var pagesize = this.pagesize;
		                var pageno = 1;
						var start=this.selectForm.startTime;
						var end=this.selectForm.endTime;
						var count=this.checkDate(end,start);
						var start1=this.selectForm.startTime1;
						var end1=this.selectForm.endTime1;
						var count1=this.checkDate(end1,start1);
						if(count<0||count1<0){
							this.$message.error("开始时间不能大于结束时间")
						}else{
							axios({
								method: 'get',
								url: '/fxyj/reply/getPage',
								params: {
									pageSize: pagesize,
									pageNo: pageno,
									fxyjDomainId: this.selectForm.fxyjDomainId,
									fxyjTitle: this.selectForm.fxyjTitle,
									fxyjLevel: this.selectForm.fxyjLevel,
									fxyjObjectName: this.selectForm.fxyjObjectName,
									startTime: this.selectForm.startTime,
									endTime: this.selectForm.endTime,
									startTime1: this.selectForm.startTime1,
									endTime1: this.selectForm.endTime1
								}
							})
									.then(response => {
								let data = response.data;
							if (data.code == 200) {
								let dataInformation = response.data.data.results;
								this.tableTotal = response.data.data.total;// 数据长度

								this.tableData = dataInformation;
							} else {
								this.$message.error(data.msg);
							}
						})
						.catch(function (error) {
								console.log(error);
							});
						}
		            },
		            /* 列表页重置 */
		            resetForm(formName) {
		                this.selectForm.fxyjDomainId = '';
		                this.selectForm.fxyjTitle = '';
		                this.selectForm.fxyjLevel = '';
		                this.selectForm.fxyjObjectName = '';
		                this.selectForm.startTime = '';
		                this.selectForm.endTime = '';
                        this.selectForm.startTime1 = '';
                        this.selectForm.endTime1 = '';
                        this.currentPage=1;
		                this.getData();
		            },
		        	//每页下拉显示数据
		            handleSizeChange(size) {
		                this.pagesize = size;
		                this.getData();
		            },
		            //点击第几页
		            handleCurrentChange(currentPage) {
		                this.currentPage = currentPage;
		                this.getData();
		            },
		            // 设置允许填写和不允许填写
		            checkDisabled(n){
		                if(n){
		                    this.formDisabled = true;
		                    this.replyformDisabled = true;
		                }else{
		                    this.formDisabled = false;
		                    this.replyformDisabled = false;
		                }
		            },
		            //查看
		            view(index,row){
                        this.dialogViewForm = true;
                        this.dialogEditForm=false;
                        this.viewOrEdit = false;
		                this.showInformation(index,row);
		                this.checkDisabled(true);
		            },
		            // 公共方法--查看
		            showInformation(index,row){
		                axios({
		                    method: 'get',
		                    url: '/fxyj/reply/getOne',
		                    params: {
		                        id: row.fxyjId
		                    }
		                })
						.then(response => {
							let data = response.data;
							if (data.code == 200) {
                               this.riskwarningview = response.data.data;
								//this.clearForm(); // 重置
							} else {
								this.$message.error(data.msg);
							}
						})
						.catch(function (error) {
							console.log(error);
						});
		            },

					//回复
                    reply(index,row){
                        this.dialogViewForm = false;
                        this.dialogEditForm=true;
                        this.viewOrEdit = true;
                        this.formDisabled = true;
                        this.replyformDisabled = false;
                        axios({
                            method: 'post',
                            url: '/fxyj/reply/queryAcquire',
                            params: {
                                id:row.id,
								from:'reply'
                            }
                        })
                            .then(response => {
                                let data = response.data;
                                if (data.code == 200) {
                                    let rowdata = response.data.data;
                                    this.clearForm(); // 重置
                                    this.riskwarningedit = rowdata;
                                } else {
                                    this.$message.error(data.msg);
                                }
                            })
                            .catch(function (error) {
                                console.log(error);
                            });
					},
					//回复提交
                    submitForm(){
                        this.$refs.riskwarningedit.validate(valid => {
                            if (valid) {
								this.$confirm('是否提交，提交后不能修改','提示', {
									confirmButtonText: '确定',
									cancelButtonText: '取消',
									type:'warning'
								}).then(()=>{
									axios({
										method: 'post',
										url: '/fxyj/reply/addForce',
										data: this.riskwarningedit
									})
										.then(response => {
											let data = response.data;
											if (data.code == 200) {
												this.$message({
													message: '回复成功',
													type: 'success'
												});
												this.clearForm(); // 重置
												this.dialogViewForm=false;
												this.dialogEditForm=false;
												this.getData();
											} else {
												this.$message.error(data.msg);
											}
										})
										.catch(function (error) {
											console.log(error);
										});
								}).catch(()=>{
									this.$message({
										message: '已取消提交',
										type: 'info'
									});
								});

                            }else{
                                console.log("必填项不能为空！");
                                return false;
                            }
                        });
					},

                    clearForm() {
                        this.riskwarningedit.riskwarningChildren = '';
                    },
                    //导出
                    appovalEx(){
                        window.location.href="/fxyj/export/exportReply?fxyjDomainId="+this.selectForm.fxyjDomainId+"&fxyjTitle="
                            +this.selectForm.fxyjTitle+"&fxyjLevel="
                            +this.selectForm.fxyjLevel+"&fxyjObjectName="
                            +this.selectForm.fxyjObjectName+"&startTime="
                            +this.selectForm.startTime1+"&endTime="
                            +this.selectForm.endTime1+"&startTime1="
                            +this.selectForm.startTime+"&endTime1="
                            +this.selectForm.endTime+"&pageNo=1";
                    },

                    //行政行为信息-按钮
                    getAction(checkActionCode){
		                if(checkActionCode==null || checkActionCode=='' ){
                            this.$message.error("填写对应的检查行为编号，才能查询行政行为信息哦！");
						}else{
                            this.dialogForm = true;
                            this.actionDisabled=true;
                            axios({
                                method: 'get',
                                url: '/fxyj/over/getAction',
                                params: {
                                    code: checkActionCode,
                                }
                            })
                                .then(response => {
                                    let data = response.data;
                                    if (data.code == 200) {
                                        this.adminisitration = data.data;
                                        console.log(this.adminisitration);
                                        //this.clearForm(); // 重置
                                    } else {
                                        this.$message.error(data.msg);
                                    }
                                })
                                .catch(function (error) {
                                    console.log(error);
                                });
						}
                    },
					//比较日期大小
					checkDate(str1, str2){
						if(str1!=null && str2!=null ) {
							var reg = /[^\d]+/;
							var arr1 = str1.split(reg);
							var arr2 = str2.split(reg);
							var d1 = new Date(arr1[0], arr1[1], arr1[2]);
							var d2 = new Date(arr2[0], arr2[1], arr2[2]);
							return d1 - d2;
						}
					}
				}
			})
		</script>
	</body>
</html>
